Add GDK_AVAILABLE_IN_3_90
authorRichard Hughes <richard@hughsie.com>
Wed, 28 Sep 2016 13:14:02 +0000 (14:14 +0100)
committerRichard Hughes <richard@hughsie.com>
Thu, 29 Sep 2016 16:24:56 +0000 (17:24 +0100)
gdk/gdkversionmacros.h.in

index bc2365df3db37e81e9960292dd7e2bbd187d9856..a42a34bc9334e8ee7473b6c24d4066417d8909bd 100644 (file)
  */
 #define GDK_VERSION_3_22        (G_ENCODE_VERSION (3, 22))
 
+/**
+ * GDK_VERSION_3_90:
+ *
+ * A macro that evaluates to the 3.90 version of GDK, in a format
+ * that can be used by the C pre-processor.
+ *
+ * Since: 3.90
+ */
+#define GDK_VERSION_3_90        (G_ENCODE_VERSION (3, 90))
+
 /* evaluates to the current stable version; for development cycles,
  * this means the next stable target
  */
 # define GDK_AVAILABLE_IN_3_22                _GDK_EXTERN
 #endif
 
+#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_90
+# define GDK_AVAILABLE_IN_3_90                GDK_UNAVAILABLE(3, 90)
+#else
+# define GDK_AVAILABLE_IN_3_90                _GDK_EXTERN
+#endif
+
 #endif  /* __GDK_VERSION_MACROS_H__ */